Matthias Clasen [Sat, 23 Feb 2019 14:19:14 +0000 (09:19 -0500)]
Document that root and unroot must chain up
I overlooked this at first.
Matthias Clasen [Sat, 23 Feb 2019 06:38:14 +0000 (01:38 -0500)]
Drop the anchored field
We can just change priv->root instead.
Matthias Clasen [Sat, 23 Feb 2019 06:13:13 +0000 (01:13 -0500)]
widget: Drop ::hierarchy-changed
It is no longer used and has been replaced by the
root and unroot vfuncs.
Matthias Clasen [Sat, 23 Feb 2019 06:12:43 +0000 (01:12 -0500)]
gtk-demo: Stop using ::hierarchy-changed
We can use root and unroot instead.
Matthias Clasen [Sat, 23 Feb 2019 06:06:57 +0000 (01:06 -0500)]
menu bar: Stop using ::hierarchy-changed
Use the root and unroot vfuncs instead.
Matthias Clasen [Sat, 23 Feb 2019 06:03:23 +0000 (01:03 -0500)]
label: Stop using ::hierarchy-changed
Use the new root and unroot vfuncs instead.
Matthias Clasen [Sat, 23 Feb 2019 06:02:55 +0000 (01:02 -0500)]
header bar: Stop using ::hierarchy-changed
Use the root and unroot vfuncs instead.
Matthias Clasen [Sat, 23 Feb 2019 06:02:25 +0000 (01:02 -0500)]
file chooser: Stop using ::hierarchy-changed
Use the root and unroot vfuncs instead.
Matthias Clasen [Sat, 23 Feb 2019 05:48:06 +0000 (00:48 -0500)]
popover: Stop using ::hierarchy-changed
Use notify::root instead.
Matthias Clasen [Sat, 23 Feb 2019 05:46:44 +0000 (00:46 -0500)]
text handle: Stop using ::hierarchy-changed
Use notify::root instead.
Matthias Clasen [Sat, 23 Feb 2019 05:32:19 +0000 (00:32 -0500)]
xim: Stop using ::hierarchy-changed
Use notify::root instead.
Matthias Clasen [Sat, 23 Feb 2019 05:31:10 +0000 (00:31 -0500)]
ime: Stop using ::hierarchy-changed
We don't need it at all here.
Matthias Clasen [Sat, 23 Feb 2019 05:30:32 +0000 (00:30 -0500)]
drag dest: Stop using ::hierarchy-changed
Use notify::root instead.
Matthias Clasen [Sat, 23 Feb 2019 05:29:52 +0000 (00:29 -0500)]
inspector: Stop using ::hierarchy-changed
Use the new root and unroot vfuncs instead.
Timm Bäder [Sat, 23 Feb 2019 03:50:25 +0000 (04:50 +0100)]
gl renderer: Round size up when rendering to a texture
Both the clip we use and the viewport we set should contain the entire
texture size and not potentially clip the last pixel.
Timm Bäder [Sat, 23 Feb 2019 03:41:42 +0000 (04:41 +0100)]
treeview: Don't assume search widget is a GtkEntry
Maybe it's a GtkText!
Chun-wei Fan [Sat, 23 Feb 2019 02:13:35 +0000 (02:13 +0000)]
Merge branch 'wip/fanc999/meson.msvc' into 'master'
GTK+ 4: Improve Windows/Visual Studio build experience
See merge request GNOME/gtk!185
Matthias Clasen [Sat, 23 Feb 2019 01:06:06 +0000 (20:06 -0500)]
widget: Remove ::event leftovers
The signal is long gone, no need for this unused
vfunc anymore.
Matthias Clasen [Fri, 22 Feb 2019 20:55:05 +0000 (15:55 -0500)]
search/password entry: Prevent expand leaks
We don't want the entry to expand, we just want
the text to expand inside the box, so explicitly
unset expand flags on the box.
Matthias Clasen [Fri, 22 Feb 2019 20:50:45 +0000 (15:50 -0500)]
search entry: Use a GtkEntryAccessible
This preserves the status quo of a11y support
for entry variations.
Matthias Clasen [Fri, 22 Feb 2019 20:49:47 +0000 (15:49 -0500)]
entry accessible: Make work with almost-entries
This is not perfect, but gives a quick way to have
an accessible that can be used for password and
search entries.
Matthias Clasen [Fri, 22 Feb 2019 19:12:52 +0000 (14:12 -0500)]
search entry: Don't force-create the accessible
We can just set the accessible name when the
accessible is actually needed.
Timm Bäder [Fri, 22 Feb 2019 18:22:58 +0000 (19:22 +0100)]
inspector: Fix an uninitialized value warning
Timm Bäder [Fri, 22 Feb 2019 17:10:27 +0000 (18:10 +0100)]
gl renderer: Use the matrix node category
Milo Casagrande [Fri, 22 Feb 2019 11:05:55 +0000 (11:05 +0000)]
Update Italian translation
Milo Casagrande [Fri, 22 Feb 2019 11:05:21 +0000 (11:05 +0000)]
Update Italian translation
Matthias Clasen [Fri, 22 Feb 2019 03:38:20 +0000 (03:38 +0000)]
Merge branch 'overlay-cleanup' into 'master'
Overlay cleanup
See merge request GNOME/gtk!600
Matthias Clasen [Fri, 22 Feb 2019 03:07:39 +0000 (22:07 -0500)]
Update migration guide for pass-through
Matthias Clasen [Fri, 22 Feb 2019 02:57:43 +0000 (21:57 -0500)]
overlay: Remove gtk_overlay_set_overlay_pass_through
gtk_overlay_set_overlay_pass_through has been made
redundant by gtk_widget_set_can_pick. Remove it.
Matthias Clasen [Fri, 22 Feb 2019 02:55:56 +0000 (21:55 -0500)]
gtk-demo: Use gtk_widget_set_can_pick
Use gtk_widget_set_can_pick instead of
overlay-specific functions with the same purpose.
Matthias Clasen [Fri, 22 Feb 2019 02:55:05 +0000 (21:55 -0500)]
testoverlay: Use gtk_widget_set_can_pick
Use gtk_widget_set_can_pick instead of the
overlay-specific api with the same purpose.
Matthias Clasen [Fri, 22 Feb 2019 02:53:34 +0000 (21:53 -0500)]
Make gtk_widget_set/get_can_pick public
This is a generally useful property to make widgets
'transparent' for input purposes.
Matthias Clasen [Fri, 22 Feb 2019 00:45:56 +0000 (19:45 -0500)]
remove tests that no longer work
Matthias Clasen [Fri, 22 Feb 2019 00:43:33 +0000 (19:43 -0500)]
overlay: Drop the index child property
And don't allow reordering children.
Matthias Clasen [Fri, 22 Feb 2019 00:39:42 +0000 (19:39 -0500)]
overlay: Drop the blur support
This was really just a demo of what gsk can do.
It can be done with public api, and has been moved
to gtk-demo.
Matthias Clasen [Fri, 22 Feb 2019 00:38:58 +0000 (19:38 -0500)]
gtk-demo: Fix the decorative overlay example
The decorations are appearing as 16x16, which is not
the intention. Use a GtkPicture instead.
Matthias Clasen [Fri, 22 Feb 2019 00:27:41 +0000 (19:27 -0500)]
gtk-demo: Move the blur demo code here
We want to remove this from the GtkOverlay code.
Benjamin Otte [Thu, 21 Feb 2019 23:07:35 +0000 (00:07 +0100)]
And another keybinding leftover
Matthias Clasen [Thu, 21 Feb 2019 22:36:29 +0000 (17:36 -0500)]
More css key bindings removal
One more :(
Matthias Clasen [Thu, 21 Feb 2019 22:22:25 +0000 (17:22 -0500)]
more css keybinding removal
Benjamin Otte [Thu, 21 Feb 2019 22:00:36 +0000 (23:00 +0100)]
docs: Fix typo
:(
Benjamin Otte [Thu, 21 Feb 2019 20:48:50 +0000 (21:48 +0100)]
Remove support for -gtk-key-bindings: css property
This is no longer used.
Benjamin Otte [Thu, 21 Feb 2019 19:42:38 +0000 (20:42 +0100)]
docs: Use the same name in different files
Otherwise gtk-doc gets confused.
Matthias Clasen [Thu, 21 Feb 2019 18:56:07 +0000 (13:56 -0500)]
Remove docs for css keybindings
This functionality has been removed.
Matthias Clasen [Thu, 21 Feb 2019 18:55:28 +0000 (13:55 -0500)]
Remove support for -gtk-key-bindings: css property
This is no longer used.
Timm Bäder [Wed, 23 Jan 2019 16:42:03 +0000 (17:42 +0100)]
Add & use GTK_CSS_AFFECTS_TRANSFORM
This avoids invalidating the size of all widgets when updating CSS
transforms.
In theory, we don't even have to allocate the widget itself, because we
didn't change its size. But we have no way to track that.
Timm Bäder [Sat, 19 Jan 2019 08:01:02 +0000 (09:01 +0100)]
widget: Apply CSS transform in gtk_widget_allocate()
Timm Bäder [Sat, 19 Jan 2019 07:53:08 +0000 (08:53 +0100)]
css: Add transform style property
Benjamin Otte [Thu, 21 Feb 2019 05:27:30 +0000 (06:27 +0100)]
csstransform: Create a GtkTransform
Stop creating graphene_matrix_t's.
Benjamin Otte [Thu, 21 Feb 2019 04:24:11 +0000 (05:24 +0100)]
snapshot: Remove the old APIs
It's all using transforms now.
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
layoutoverlay: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
fpsoverlay: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
widgetpaintable: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
widget: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
treeview: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
textview: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
stylecontext: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
stack: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
scaler: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
rendernodepaintable: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
rendericon: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
renderbackground: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
picture: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
magnifier: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
image: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
iconview: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
iconhelper: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
cellrenderertoggle: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
cellrendererpixbuf: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
calendar: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 04:34:12 +0000 (05:34 +0100)]
puzzlepiece: Use new snapshot transforms
Benjamin Otte [Thu, 21 Feb 2019 03:24:24 +0000 (04:24 +0100)]
snapshot: Introduce transform APIs
Instead of gtk_snapshot_offset(), provide a full set of functions
kept in sync with GtkTransform APIs.
On top of that, add gtk_snapshot_save() and gtk_snapshot_restore()
mirroring cairo_save()/restore() that allow saving a snapshot's
transform state.
Benjamin Otte [Thu, 21 Feb 2019 02:28:12 +0000 (03:28 +0100)]
snapshot: Remove gtk_snapshot_get_offset()
We use append() functions for everything now, thank you very much.
Benjamin Otte [Thu, 21 Feb 2019 02:26:03 +0000 (03:26 +0100)]
snapshot: Add functions to append shadows
Benjamin Otte [Thu, 21 Feb 2019 02:07:14 +0000 (03:07 +0100)]
snapshot: Refactor text rendering
The code didn't change, it was just shuffled around to make the
with_bounds() versions of the text rendering unnecessary and instead
pass through the generic append_node() path.
Benjamin Otte [Thu, 21 Feb 2019 01:11:13 +0000 (02:11 +0100)]
snapshot: Add gtk_snapshot_append_border()
This is adding functions for the remaining render nodes.
Benjamin Otte [Thu, 21 Feb 2019 00:54:01 +0000 (01:54 +0100)]
snapshot: Store an actual GtkTransform
Instead of just tracking 2 integer translate_x/y coordinates, tracka a
full GtkTransform.
When creating actual nodes, if the transform is simple enough, just
create the node in a way that makes use of the transform. If the
node, can't represent the transform, just push a transform node instead
and automatically pop that node with the next gtk_snapshot_pop() call.
Benjamin Otte [Wed, 20 Feb 2019 23:12:42 +0000 (00:12 +0100)]
snapshot: Remove dead code
Seems to be leftovers from way too long ago.
Benjamin Otte [Wed, 20 Feb 2019 02:02:23 +0000 (03:02 +0100)]
gsk: Remove offset nodes
They were a neat idea while they lasted. But now, it's time for
categorized transform nodes, where matrices with
GSK_MATRIX_CATEGORY_2D_TRANSLATE are the exact replacement.
Renderers have not been adapted for this purpose, so they (continue to)
run slow paths.
Benjamin Otte [Tue, 19 Feb 2019 07:24:59 +0000 (08:24 +0100)]
widget: Store category of widget transform
And pass that category through to the transform node that we create for
it.
Benjamin Otte [Tue, 19 Feb 2019 07:11:42 +0000 (08:11 +0100)]
widget: Make gtk_widget_allocate() take a GtkTransform
We can reason about GtkTransform way better - and determine its category or
do equality checks.
Benjamin Otte [Sun, 17 Feb 2019 11:54:04 +0000 (12:54 +0100)]
gtk: Add GtkTransform
This is a new object (well, boxed type, but I'm calling it object) for
dealing with transform in a more constructive way than graphene_matrix_t
by keeping track of how the transform was created.
This way, reasoning about the transform becomes easier, and we can create
better ways to print it or transition from one transform to another one.
An example of this is that while a 0 degree and a 360degree rotation are
both the identity matrix, doing a transition between the two would cause
a rotation.
Benjamin Otte [Tue, 19 Feb 2019 05:52:36 +0000 (06:52 +0100)]
gsk: Add GskMatrixCategory
We'll use that soon.
Matthias Clasen [Thu, 21 Feb 2019 18:01:31 +0000 (18:01 +0000)]
Merge branch 'key-themes' into 'master'
Key themes
See merge request GNOME/gtk!595
Piotr Drąg [Thu, 21 Feb 2019 17:31:37 +0000 (18:31 +0100)]
Update Polish translation
Matthias Clasen [Thu, 21 Feb 2019 17:29:46 +0000 (12:29 -0500)]
Remove css test for key bindings
Matthias Clasen [Thu, 21 Feb 2019 05:58:30 +0000 (00:58 -0500)]
Drop key themes
These were an abuse of css, and not very successful
as a concept. We are going to replace bindings with
a new way of doing customizable shortcuts.
Matthias Clasen [Thu, 21 Feb 2019 17:18:21 +0000 (17:18 +0000)]
Merge branch 'piotrdrag/rename-gtk-inspector' into 'master'
window: Rename GTK+ Inspector in user-visible strings
See merge request GNOME/gtk!598
Piotr Drąg [Thu, 21 Feb 2019 16:49:03 +0000 (17:49 +0100)]
window: Rename GTK+ Inspector in user-visible strings
Matthias Clasen [Thu, 21 Feb 2019 16:13:53 +0000 (11:13 -0500)]
gtk-demo: Fix fallout from the notebook page merge
I have overlooked a few places where the child properties
were used. Sorry.
Matthias Clasen [Thu, 21 Feb 2019 12:41:50 +0000 (12:41 +0000)]
Merge branch 'piotrdrag/typo-assitant' into 'master'
assistant: Fix typo in a translatable string
See merge request GNOME/gtk!597
Piotr Drąg [Thu, 21 Feb 2019 12:28:37 +0000 (13:28 +0100)]
assistant: Fix typo in a translatable string
Piotr Drąg [Thu, 21 Feb 2019 12:17:04 +0000 (13:17 +0100)]
Update POTFILES.in
Matthias Clasen [Thu, 21 Feb 2019 06:11:50 +0000 (01:11 -0500)]
Add new notebook apis to the docs
Matthias Clasen [Thu, 21 Feb 2019 06:09:09 +0000 (01:09 -0500)]
Add more info to the migration guide
Mention child metas of GtkAssistant and GtkNotebook.
Matthias Clasen [Thu, 21 Feb 2019 05:50:05 +0000 (05:50 +0000)]
Merge branch 'nbpage' into 'master'
Notebook child metas
See merge request GNOME/gtk!594
Matthias Clasen [Thu, 21 Feb 2019 05:29:09 +0000 (00:29 -0500)]
tests: Update property tests
The pages property must be skipped.
Matthias Clasen [Thu, 21 Feb 2019 05:28:47 +0000 (00:28 -0500)]
builder test: Update notebooks
Matthias Clasen [Thu, 21 Feb 2019 05:28:25 +0000 (00:28 -0500)]
css tests: Update ui files for notebooks
Matthias Clasen [Thu, 21 Feb 2019 05:27:04 +0000 (00:27 -0500)]
a11y tests: Update ui files
Notebooks have changed.